#include "VideoStreamerFactory.h"
#include "VideoStreamer.h"

IVideoStreamer* VideoStreamerFactory::CreateInstance(
	std::string ai_fileName, 
	std::string ai_format,
	const CvSize& ai_size,
	int ai_bitRate, 
	int ai_frameRate,
	int ai_gopSize,
	int ai_bFrames,
	int ai_bufferSize)
{
	return (IVideoStreamer *) new VideoStreamer(
		ai_fileName, 
		ai_format, 
		ai_size, 
		ai_bitRate,
		ai_frameRate,
		ai_gopSize,
		ai_bFrames,
		ai_bufferSize);
}